<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>about me</title>
    <link rel="shortcut icon" href="../Homepage_files/img/favicon.ico" >
    <style>
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 20px;
            background-color: #f0f2f5;
            display: flex;
            justify-content: center;
            line-height: 1.6;
        }
        .resume-container {
            width: 800px;
            background-color: #fff;
            padding: 40px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            border-radius: 8px;
            box-sizing: border-box;
            position: relative;
        }
        /* 头部装饰：花纹或背景 */
        .floral-design {
            position: absolute;
            top: 0;
            right: 0;
            width: 180px;
            height: 120px;
            background-image: url('https://via.placeholder.com/180x120/F5F5DC/8B4513?text=Decorative+Element'); /* Placeholder, replace with actual decorative image */
            background-size: cover;
            background-repeat: no-repeat;
            background-position: center;
            opacity: 0.7;
            z-index: 1;
            border-top-right-radius: 8px;
        }

        .section {
            margin-bottom: 30px;
            position: relative;
        }
        .section-title {
            font-size: 20px;
            color: #444;
            margin-bottom: 15px;
            padding-bottom: 5px;
            border-bottom: 1px dashed #ddd;
            display: flex;
            align-items: center;
            position: relative;
        }
        .section-title span {
            font-weight: bold;
            margin-right: 10px;
        }
        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 3px;
            background-color: #4A90E2;
        }

        /* Basic info grid with photo - Compressed spacing */
        .basic-info-grid {
            display: grid;
            grid-template-columns: 130px 1.3fr 1fr; /* Reduced photo column, increased second column for text */
            gap: 5px 15px; /* Significantly reduced vertical and horizontal gap */
            font-size: 15px;
            color: #555;
            align-items: start;
        }
        .basic-info-grid .profile-main-photo {
            grid-column: 1 / 2;
            grid-row: 1 / span 4; /* Still spans rows, the caption is positioned relative to this */
            width: 100%;
            height: 160px; /* Adjusted height to match new spacing */
            overflow: hidden;
            border-radius: 8px;
            border: 2px solid #ddd;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            position: relative; /* Needed for absolute positioning of caption */
        }
        .basic-info-grid .profile-main-photo img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        /* Style for the photo caption "摄于天真蓝" */
        .profile-photo-caption {
            font-size: 12px; /* Smaller font size */
            color: #777; /* Lighter color */
            text-align: center;
            position: absolute; /* Position relative to .profile-main-photo */
            bottom: -20px; /* Adjust as needed to place it below the photo */
            left: 0;
            width: 100%;
            margin-top: 5px; /* Add a little space above */
        }

        .basic-info-grid .info-item {
            display: flex;
            align-items: baseline;
            white-space: nowrap; /* Prevent text from wrapping within an info item */
            margin-bottom: 0px; /* Ensure no extra margin on items themselves */
        }
        .basic-info-grid strong {
            display: inline-block;
            width: 65px; /* Further reduced width for labels */
            text-align: right;
            margin-right: 5px; /* Further reduced margin */
            color: #333;
            flex-shrink: 0;
        }
        .basic-info-grid .col-2 {
            grid-column: 2 / 3;
        }
        .basic-info-grid .col-3 {
            grid-column: 3 / 4;
        }

        .family-content p, .conditions-content p {
            font-size: 15px;
            color: #555;
            margin-bottom: 10px;
            text-indent: 2em;
        }
        .family-content p:last-child, .conditions-content p:last-child {
            margin-bottom: 0;
        }

        /* Reverted photo-gallery for horizontal scrolling */
        .photo-gallery {
            display: flex; /* Use flexbox for horizontal scrolling */
            flex-wrap: nowrap; /* Prevent items from wrapping */
            gap: 15px; /* Spacing between photos */
            padding-bottom: 10px; /* Space for scrollbar if present */
            overflow-x: auto; /* Allow horizontal scrolling */
            -webkit-overflow-scrolling: touch; /* Enhance scrolling on iOS */
            scrollbar-width: none; /* Hide scrollbar for Firefox */
            -ms-overflow-style: none; /* Hide scrollbar for IE/Edge */
        }
        .photo-gallery::-webkit-scrollbar {
            display: none; /* Hide scrollbar for Webkit browsers (Chrome, Safari) */
        }

        .photo-gallery img {
            flex-shrink: 0; /* Prevent images from shrinking and ensure scrolling */
            width: 230px; /* Fixed width for each image */
            height: 300px; /* Consistent height for portrait orientation */
            object-fit: cover; /* Crop to fit, maintaining aspect ratio */
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            border: 2px solid #eee;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .resume-container {
                width: 95%;
                padding: 20px;
            }
            .basic-info-grid {
                grid-template-columns: 1fr;
                gap: 10px;
            }
            .basic-info-grid .profile-main-photo {
                grid-column: auto;
                grid-row: auto;
                width: 120px;
                height: 150px;
                margin: 0 auto 15px auto;
            }
            /* Adjust caption position for small screens */
            .profile-photo-caption {
                position: static; /* Remove absolute positioning on small screens */
                margin-top: 5px;
                margin-bottom: 15px; /* Add space below if static */
            }
            .basic-info-grid .col-2, .basic-info-grid .col-3 {
                grid-column: auto;
            }
            .floral-design {
                display: none;
            }
            .photo-gallery {
                justify-content: flex-start; /* Ensure photos start from left on small screens */
                flex-wrap: nowrap; /* Keep them in a single row for scrolling */
            }
            .photo-gallery img {
                width: 180px; /* Adjust width for small screens, still scrollable */
                height: 240px;
            }
        }
    </style>
</head>
<body>
    <div class="resume-container">
        <div class="floral-design"></div>

        <div class="section">
            <div class="section-title">
                <span>基本信息</span>
            </div>
            <div class="basic-info-grid">
                <div class="profile-main-photo">
                    <img src="photo.jpeg" alt="个人大头照">
                    <div class="profile-photo-caption">摄于天真蓝</div>
                </div>
                <div class="info-item col-2"><strong>姓名:</strong> 朱天宇</div>
                <div class="info-item col-3"><strong>生日:</strong> 1993.07</div>
                <div class="info-item col-2"><strong>户籍:</strong> 江苏省盱眙县->上海市徐汇区</div>
                <div class="info-item col-3"><strong>身高:</strong> 173cm</div>
                <div class="info-item col-2"><strong>现居:</strong> 上海市徐汇区</div>
                <div class="info-item col-3"><strong>学历:</strong> 理学博士(中国科学技术大学)</div>
                <div class="info-item col-2"><strong>职业:</strong> 几何算法工程师(腾讯)</div>
                <div class="info-item col-3"><strong>年薪:</strong> 约80w</div>
            </div>
        </div>

        <div class="section">
            <div class="section-title">
                <span>家庭</span>
            </div>
            <div class="family-content">
                <p>父亲是普通职工，母亲是退休幼儿园老师。</p>
                <p>在老家有两套房，上海无房有购买计划，无外债。</p>
                <p>家庭氛围良好，家人均无任何不良嗜好，三代良民。</p>
            </div>
        </div>

        <div class="section">
            <div class="section-title">
                <span>关于『我』</span>
            </div>
            <div class="conditions-content">
                <p>经历：盱眙(小学)->淮安(中学)->南京(本科)->上海(短暂工作)->合肥(硕博)->上海(当前工作)</p>
                <p>文史爱好者：喜欢阅读历史书籍、视频资料以及找博物馆打卡</p>
                <p>ACG宅文化：轻小说&番剧&二游</p>
                <p>体育运动：关注足球和乒乓球，周末会打羽毛球</p>
                <p>网上冲浪爱好者</p>
                <p>情绪稳定，不抽烟不喝酒</p>
            </div>
        </div>

        <div class="section">
            <div class="section-title">
                <span>希望『你』</span>
            </div>
            <div class="conditions-content">
                <p>在上海工作</p>
                <p>有明确的人生目标和职业&爱好方面的追求</p>
                <p>无烟酒等不良爱好</p>
                <p>情绪稳定</p>
            </div>
        </div>

        <div class="section">
            <div class="section-title">
                <span>生活照片</span>
            </div>
            <div class="photo-gallery">
                <img src="1.jpg" alt="Life Photo 1">
                <img src="2.jpg" alt="Life Photo 2">
                <img src="4.jpg" alt="Life Photo 3">
            </div>
        </div>
    </div>
</body>
</html>